package com.xtt.util.retry;

import java.io.IOException;

public class LianJiaCaseListHelper implements RetryHandler<String>{

	@Override
	public String handler() throws InterruptedException, IOException {
		getSome();
		return "1";
	}
	public static void getSome() throws InterruptedException, IOException {
		Thread.sleep(500);
		System.out.println("执行方法中");
		throw new IOException();
	}
	
	public void getSome2() throws InterruptedException, IOException {
		Thread.sleep(500);
		System.out.println("执行方法中");
		throw new IOException();
	}
}
